<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

	<h:head>
		<title>Semester Grades</title>
		<link rel="stylesheet" type="text/css" href="../css/styles.css" />
	</h:head> 
	<h:body> 
		<div align="center">
			<table border="5" >
				<tr>
					<th class="title">Semester Grades</th>
				</tr>
			</table>
		</div>
		
		<p/>
		
		<h:dataTable var="grade"
					 value="#{semesterGrade.grades}"
					 border="1">
			<h:column>
				<f:facet name="header">Exam 1</f:facet>
				#{grade.exam1}
			</h:column>
			<h:column>
				<f:facet name="header">Exam 2</f:facet>
				#{grade.exam2}
			</h:column>
		</h:dataTable>
		
	</h:body> 
</html>
